//
//  DepositMgmtCell.swift
//  SlaughterClient
//
//  Created by 邱仙凯 on 2022/4/8.
//  Copyright © 2022 zwb. All rights reserved.
//

import UIKit
 
class ZyaDepositMgmtCell: UITableViewCell {
 
    lazy var img: UIImageView = {
        var img = UIImageView()
        return img
    }()
    lazy var titleLab: UILabel = {
        var v = UILabel()
        return v
    }()
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        self.contentView.addSubview(img)
        self.contentView.addSubview(titleLab)
        self.accessoryType = .disclosureIndicator 
        img.snp.makeConstraints { make in
            make.centerY.equalToSuperview()
            make.left.equalToSuperview().offset(10)
        }
        titleLab.snp.makeConstraints { make in
            make.left.equalTo(img.snp.right).offset(10)
            make.centerY.equalToSuperview()
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
